

#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <string>
#include <cstring>
#include "loop_event.hpp"
#include "rtmp_server.h"

int main(int argc, const char * argv[])
{
    printf("start rtmp simple server.\n");
    LoopEvent loop_event;
    RtmpServer rtmp_server(&loop_event);
    rtmp_server.StartServer(1935);
    loop_event.Run();
    return EXIT_SUCCESS;
}
